package bean;

import java.util.List;

/**
 * Created by zyq on 2016/11/28.
 */

//我是
public class SpeakerListViewBean {

    /**
     * res : 0
     * data : [{"id":380,"title":"幸福村为什么没有抽水马桶","lecturer_id":88636,"viewnum":"9207","likenum":"53","cmtnum":"14","cover":"http://static.yixi.tv/background/2016-07-27/66ec890287e34fc839cfe98d604d42fb.210x140.jpg","background":"","video":"XMTY1OTA1Mzc5Ng==","cate_id":5,"type":"lec","published":1,"site":"上海","time":"2016-06-26","created_at":"2016-07-27 13:11:49","lecturer":{"id":88636,"nickname":"沈辛成","pic":"http://static.yixi.tv/portrait/2016-07-27/377c95aa0bec8b718c2a939d155de6cb.160x160.jpg","is_lecturer":1,"cate_id":5},"tags":[{"id":34,"name":"历史"},{"id":673,"name":"马桶"},{"id":674,"name":"下水道"},{"id":675,"name":"城市"}]},{"id":159,"title":"失败是失败之母","lecturer_id":278,"viewnum":"4044","likenum":"33","cmtnum":"3","cover":"http://static.yixi.tv/background/2015-03-02/5a860a9e8dc43daee0bd4ec39d3cd565.210x140.jpg","background":"","video":"XNzgyNzAyMzE2","cate_id":5,"type":"lec","published":1,"site":"上海","time":"2014-07-06","created_at":"2015-04-07 15:33:38","lecturer":{"id":278,"nickname":"张鸣","pic":"http://static.yixi.tv/portrait/2015-01-05/994ef8a968b349306a0740f2569a4b26.160x160.jpg","is_lecturer":1,"cate_id":5},"tags":[{"id":34,"name":"历史"},{"id":301,"name":"甲午海战"},{"id":302,"name":"社会变革"},{"id":303,"name":"现代化改革"}]},{"id":150,"title":"最早的上海","lecturer_id":270,"viewnum":"1396","likenum":"13","cmtnum":"1","cover":"http://static.yixi.tv/background/2015-03-02/db19189a12c98742802bb1144b67a7e2.210x140.jpg","background":"","video":"XNzQxMTEyOTI0","cate_id":16,"type":"lec","published":1,"site":"上海","time":"2014-05-25","created_at":"2015-04-07 15:33:28","lecturer":{"id":270,"nickname":"高蒙河","pic":"http://static.yixi.tv/portrait/2015-01-05/7cfc8bd4f0fcaf3c6acffec214eff4ac.160x160.jpg","is_lecturer":1,"cate_id":16},"tags":[{"id":34,"name":"历史"},{"id":201,"name":"考古"},{"id":282,"name":"上海"},{"id":287,"name":"远古史"}]},{"id":132,"title":"缺少土豪的世界","lecturer_id":252,"viewnum":"2342","likenum":"53","cmtnum":"8","cover":"http://static.yixi.tv/background/2015-01-05/75de687950108258b0016ed6beaefe6c.210x140.jpg","background":"","video":"XNzEyOTExNjEy","cate_id":5,"type":"lec","published":1,"site":"武汉","time":"2014-04-12","created_at":"2015-04-07 15:33:10","lecturer":{"id":252,"nickname":"刘仲敬","pic":"http://static.yixi.tv/portrait/2015-01-05/703a38822371d3ac6e80d0cc88b21411.160x160.jpg","is_lecturer":1,"cate_id":5},"tags":[{"id":34,"name":"历史"},{"id":252,"name":"历史观"},{"id":253,"name":"知识分子"},{"id":254,"name":"社会重建"}]}]
     */

    private int res;
    private List<DataBean> data;

    public int getRes() {
        return res;
    }

    public void setRes(int res) {
        this.res = res;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 380
         * title : 幸福村为什么没有抽水马桶
         * lecturer_id : 88636
         * viewnum : 9207
         * likenum : 53
         * cmtnum : 14
         * cover : http://static.yixi.tv/background/2016-07-27/66ec890287e34fc839cfe98d604d42fb.210x140.jpg
         * background :
         * video : XMTY1OTA1Mzc5Ng==
         * cate_id : 5
         * type : lec
         * published : 1
         * site : 上海
         * time : 2016-06-26
         * created_at : 2016-07-27 13:11:49
         * lecturer : {"id":88636,"nickname":"沈辛成","pic":"http://static.yixi.tv/portrait/2016-07-27/377c95aa0bec8b718c2a939d155de6cb.160x160.jpg","is_lecturer":1,"cate_id":5}
         * tags : [{"id":34,"name":"历史"},{"id":673,"name":"马桶"},{"id":674,"name":"下水道"},{"id":675,"name":"城市"}]
         */

        private int id;
        private String title;
        private int lecturer_id;
        private String viewnum;
        private String likenum;
        private String cmtnum;
        private String cover;
        private String background;
        private String video;
        private int cate_id;
        private String type;
        private int published;
        private String site;
        private String time;
        private String created_at;
        private LecturerBean lecturer;
        private List<TagsBean> tags;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getLecturer_id() {
            return lecturer_id;
        }

        public void setLecturer_id(int lecturer_id) {
            this.lecturer_id = lecturer_id;
        }

        public String getViewnum() {
            return viewnum;
        }

        public void setViewnum(String viewnum) {
            this.viewnum = viewnum;
        }

        public String getLikenum() {
            return likenum;
        }

        public void setLikenum(String likenum) {
            this.likenum = likenum;
        }

        public String getCmtnum() {
            return cmtnum;
        }

        public void setCmtnum(String cmtnum) {
            this.cmtnum = cmtnum;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getBackground() {
            return background;
        }

        public void setBackground(String background) {
            this.background = background;
        }

        public String getVideo() {
            return video;
        }

        public void setVideo(String video) {
            this.video = video;
        }

        public int getCate_id() {
            return cate_id;
        }

        public void setCate_id(int cate_id) {
            this.cate_id = cate_id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getPublished() {
            return published;
        }

        public void setPublished(int published) {
            this.published = published;
        }

        public String getSite() {
            return site;
        }

        public void setSite(String site) {
            this.site = site;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public LecturerBean getLecturer() {
            return lecturer;
        }

        public void setLecturer(LecturerBean lecturer) {
            this.lecturer = lecturer;
        }

        public List<TagsBean> getTags() {
            return tags;
        }

        public void setTags(List<TagsBean> tags) {
            this.tags = tags;
        }

        public static class LecturerBean {
            /**
             * id : 88636
             * nickname : 沈辛成
             * pic : http://static.yixi.tv/portrait/2016-07-27/377c95aa0bec8b718c2a939d155de6cb.160x160.jpg
             * is_lecturer : 1
             * cate_id : 5
             */

            private int id;
            private String nickname;
            private String pic;
            private int is_lecturer;
            private int cate_id;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public int getIs_lecturer() {
                return is_lecturer;
            }

            public void setIs_lecturer(int is_lecturer) {
                this.is_lecturer = is_lecturer;
            }

            public int getCate_id() {
                return cate_id;
            }

            public void setCate_id(int cate_id) {
                this.cate_id = cate_id;
            }
        }

        public static class TagsBean {
            /**
             * id : 34
             * name : 历史
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
